//import Vue from "vue";等价于import Vue from "vue/dist/vue.runtime,common.js"; => vue.config.js修改地址
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//引入elementUI
import "./plugins/element.js";
import "element-ui/lib/theme-chalk/index.css";
import ElementUI from "element-ui";
//引入vue-API
import VueCompositionApi from "@vue/composition-api";
import "./router/promit";
//图标组件
import "./icons";
//全局插件
// import globle from "./utils/global";

//局部组件中代码的编写是”components“,而全局组件中是”component“ 。

// Vue.use(globle);
Vue.use(ElementUI);
Vue.use(VueCompositionApi);
Vue.config.productionTip = false;

//runtime（运行模式） or copmpiler模式
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
